package com.jdzy.model.student.dtos;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel(description = "Competition信息Dto类")
public class CompetitionDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "学号stuId")
    private String stuId;

    @ApiModelProperty(value = "竞赛名称")
    private String competitionName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    @ApiModelProperty(value = "竞赛时间")
    private LocalDate competitionTime;

    @ApiModelProperty(value = "奖项级别")
    private Byte awardLevel;

    @ApiModelProperty(value = "竞赛类型")
    private Byte competitionType;

    @ApiModelProperty(value = "指导老师名字")
    private List<String> advisorNames;

    @ApiModelProperty(value = "指导老师名字(字符串形式)")
    private String advisorNameStr;

    @ApiModelProperty(value = "参与人名字")
    private List<String> participantNames;

    @ApiModelProperty(value = "参与人名字(字符串形式)")
    private String participantNameStr;


//    @ApiModelProperty(value = "创建时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
//    private LocalDateTime createTime;
}
